<?php defined('SYSPATH') or die('No direct script access.') ?>
<form class="form-inline" role="form">
  <div class="form-group">
    <label class="sr-only" for="name">по ФИО</label>
    <input type="text" class="form-control" id="name" placeholder="ФИО">
  </div>
  <div class="form-group">
    <label class="sr-only" for="num">по № договора</label>
    <input type="text" class="form-control" id="num" placeholder="№ договора">
  </div>
  <button type="submit" class="btn btn-default">Найти</button>
</form>
<?php echo $table_new ?>

<div id="ajaxmodal" class="modal container fade" tabindex="-1" style="display: none;">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h4 class="modal-title">Заголовок</h4>
  </div>
  <div class="modal-body"></div>
  <div class="modal-footer">
    <button type="button" data-dismiss="modal" class="btn btn-default">Закрыть</button>
    <button type="button" class="btn btn-primary" id="card_submit">Сохранить изменения</button>
  </div>
</div>
